package com.bestpractice1;

public class Test {
public static void main(String[] args) {
	try{
	int x=10/0;
	int array[]=new int[5];
	array[7]=20;
	}catch(ArithmeticException|ArrayIndexOutOfBoundsException e){
		System.out.println(e.getMessage());
	}
}
}
